erase

Erases a device‘s (wireless controller, access point, and service platform) file system. Erases the content of the specified storage device. Also erases the startup configuration to restore the device to its default.

Supported on the following devices:

Syntax

erase [flash:|nvram:|startup-config|usb1:|usb2:|usb3:|usb4:]
erase [flash:|nvram:|usb1:|usb2:|usb3:|usb4:]
erase startup-config {<HOSTNAME/MAC>|on <DOMAIN-NAME> {containing <SUB-STRING>|
exclude-controllers|exclude-rf-domain-manager|filter <DEVICE-TYPE>}}

Parameters

erase [flash:|nvram:|usb1:|usb2:|usb3:|usb4:]

flash:

Erases everything in the device's flash: file

nvram:

Erases everything in the device's nvram: file

startup-config

Erases the device's startup configuration file. The startup configuration file is used to configure the device when it reboots.

usb1:

Erases everything in the device's usb1: file

usb2:

Erases everything in the device's usb2: file

usb3:

Erases everything in the device's usb3: file

usb4:

Erases everything in the device's usb4: file

erase startup-config {<HOSTNAME/MAC>|on <DOMAIN-NAME> {containing <SUB-STRING>|
exclude-controllers|exclude-rf-domain-manager|filter <DEVICE-TYPE>}}
startup-config: Erases the startup configuration file on a specified device or devices in a specified RF Domain. The specified device(s) are reloaded after the startup configuration file is erased. Use the <HOSTNAME/MAC> or on <DOMAIN-NAME> options to identify the device or RF Domain respectively. Once executed, the configuration file, for the targeted device or for all device(s) in the targeted RF Domain, is also erased from the adopting controller‘s configuration file. They are automatically reloaded once the startup configuration file has been erased.
<HOSTNAME/MAC> Optional. Erases the startup configuration file on the device identified by the <HOSTNAME/MAC> keyword. Specify the device‘s hostname or MAC address.
on <DOMAIN-NAME> {containing <SUB-STRING>| exclude-controllers| exclude-rf-domain-manager| filter <DEVICE-TYPE>} Optional. Erases the startup configuration file on all devices or specified device(s) in a specified RF Domain
  • <DOMAIN-NAME> – Specify the RF Domain name. After specifying the RF Domain, optionally use the filters provided to identify specific device(s) within the RF Domain. If none of the filters are used, the command is executed on all devices within the RF Domain. These filters are:
    • containing <SUB-STRING> – Optional. Executes the command on all devices containing a specified sub-string in their hostname
      • <SUB-STRING> – Specify the sub-string to match. The startup configuration file is erased on all devices whose hostname contains the sub-string specified here.
    • exclude-controllers – Optional. Executes the command on all devices excluding controllers. The startup configuration file is erased on all devices except controllers.
    • exclude-rf-domain-manager – Optional. Executes the command on all devices excluding RF Domain managers. The startup configuration file is erased on all devices except RF Domain managers.
    • filter <DEVICE-TYPE> – Optional. Executes the command on all devices of a specified type.
      • <DEVICE-TYPE> – Specify the device type. The options are: AP310, AP360, AP410, AP460, AP505, AP510, AP560, AP7612, AP7632, AP7662, NX5000, NX7500, NX9500, NX9600 and VX9000. The startup configuration file is erased on all devices of the type specified here.

Examples

nx9500-6C8809#erase ?
  cf:             Erase everything in cf:
  flash:          Erase everything in flash:
  nvram:          Erase everything in nvram:
  startup-config  Reset configuration to factory default
  usb1:           Erase everything in usb1:
  usb2:           Erase everything in usb2:
nx9500-6C8809#